]> dgit.raspbian.org Git - gnome-shell.git/commit
workspaceThumbnail: Destroy thumbnails on destruction
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 25 May 2021 15:03:46 +0000 (12:03 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 25 May 2021 15:43:32 +0000 (12:43 -0300)
commite9119c625dc22d892bdf04be6e9d56d598feabbe
tree70737cebd1d439653f84d0c435cf1e80796f292d
parente6089c83e2993098814b7056e1c7f54e5dc06820
workspaceThumbnail: Destroy thumbnails on destruction

Often, when using multiple monitors, the thumbnails box may be
destroyed before the 'hidden' signal of the Overview is emitted,
which leaves a bunch of lingering signal connections to the
workspace manager.

Call this._destroyThumbnails() in the _onDestroy handler, which
disconnects from workspace manager. This fixes the some of the log
spam that GNOME Shell produces with backtraces of destroyed actors.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1860>
js/ui/workspaceThumbnail.js